package com.ryx.vo.req;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @BelongsPackage: com.ryx.vo.req
 * @Author: 容永轩
 * @CreateTime: 2020-11-06
 * @Description: 测试vo
 */
@Data
public class TestReqVo {

    @NotEmpty(message = "list is not be empty")
    @ApiModelProperty(value = "list data")
    private List<String> list;

    @NotBlank(message = "username is not be empty")
    private String username;

    @NotNull(message = "age is not be null")
    private Integer age;

}
